<template>
	<view class="address-page">
    <view class="fixed-content">
    	<view class="title">当前自提点</view>
      <view class="now-tip">当前</view>
      <view class="shop-msg">自提点： {{shopName}}</view>
      <view class="shop-msg">{{shopAddr||"-----------------"}}</view>
    </view>
    <ys-address :list="addressList"></ys-address>
  </view>
</template>

<script>
  export default {
    data() {
      return {             
        addressList:[
          {"shop":"321的店","addr":"长沙市中南大学湘雅二医院(人民中路139号)","distance":1},
          {"shop":"321的店","addr":"长沙市中南大学湘雅二医院(人民中路139号)","distance":1},
          {"shop":"321的店","addr":"长沙市中南大学湘雅二医院(人民中路139号)","distance":1,},
          {"shop":"321的店","addr":"长沙市中南大学湘雅二医院(人民中路139号)","distance":1,},
          {"shop":"321的店","addr":"","distance":1,},
          {"shop":"321的店","addr":"长沙市中南大学湘雅二医院(人民中路139号)","distance":1,},
          {"shop":"321的店","addr":"长沙市中南大学湘雅二医院(人民中路139号)","distance":1,},
          {"shop":"321的店","addr":"长沙市中南大学湘雅二医院(人民中路139号)","distance":1},
          {"shop":"321的店","addr":"长沙市中南大学湘雅二医院(人民中路139号)","distance":1},
          {"shop":"321的店","addr":"长沙市中南大学湘雅二医院(人民中路139号)","distance":1,},
          {"shop":"321的店","addr":"","distance":1,},
          {"shop":"321的店","addr":"长沙市中南大学湘雅二医院(人民中路139号)","distance":1,},
          {"shop":"321的店","addr":"长沙市中南大学湘雅二医院(人民中路139号)","distance":1,},
          {"shop":"321的店","addr":"长沙市中南大学湘雅二医院(人民中路139号)","distance":1,},
          {"shop":"321的店","addr":"长沙市中南大学湘雅二医院(人民中路139号)","distance":1},
          {"shop":"321的店","addr":"长沙市中南大学湘雅二医院(人民中路139号)","distance":1},
          {"shop":"321的店","addr":"长沙市中南大学湘雅二医院(人民中路139号)","distance":1,},
          {"shop":"321的店","addr":"长沙市中南大学湘雅二医院(人民中路139号)","distance":1,},
          {"shop":"321的店","addr":"","distance":1,},
          {"shop":"321的店","addr":"长沙市中南大学湘雅二医院(人民中路139号)","distance":1,},
          {"shop":"321的店","addr":"长沙市中南大学湘雅二医院(人民中路139号)","distance":1,}
        ],
        shopName:"太谷县北汪乡北张村海博副食商店",
        shopAddr:"长沙市中南大学湘雅二医院(人民中路139号)"
      };
    },             
    methods: {
            
    }
  }
</script>

<style lang="scss">
  page{
    width: 100%;
    height: 100%;
    background-color: #f7f7f7;
  }
  .fixed-content{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    // height: 120px;
    background-color: #fff;
    border-bottom: 20rpx solid #f2f2f2;
    z-index: 3;
    padding: 20upx;
    .title{
      font-size: 36upx;
      color: #010101;
    }
    .now-tip{
      display: block;
      width: 65upx;
      height: 36upx;
      line-height: 36upx;
      font-size: 26rpx;
      color: #252525;
      background-color: #FFDE00;
      text-align: center;
      margin-top: 15upx;
    }
    .shop-msg{
      font-size: 26rpx;
      color: #252525;
      margin-top: 15upx;
    }
  }
</style>
